package com.ruoyi.subsidy.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补贴金额业务对象 sys_planting_price
 *
 * @author nbacheng
 * @date 2025-08-26
 */

@Data
public class SysPlantingPriceBo  {

    /**
     * 补贴金额表
     */
    @NotNull(message = "补贴金额表不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 年份
     */
    @NotBlank(message = "年份不能为空", groups = { AddGroup.class, EditGroup.class })
    private String year;

    /**
     * 补贴类型
     */
    @NotBlank(message = "补贴类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 金额
     */
    @NotBlank(message = "金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private String price;


}
